/**
 * output package name
 */
package com.kingdee.eas.custom;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class state extends StringEnum
{
    public static final String ONE_VALUE = "1";
    public static final String TWO_VALUE = "2";
    public static final String SUBMIT_VALUE = "3";
    public static final String AUDIT_VALUE = "4";
    public static final String UNAUDIT_VALUE = "5";
    public static final String DELETE_VALUE = "6";

    public static final state one = new state("one", ONE_VALUE);
    public static final state two = new state("two", TWO_VALUE);
    public static final state submit = new state("submit", SUBMIT_VALUE);
    public static final state audit = new state("audit", AUDIT_VALUE);
    public static final state unAudit = new state("unAudit", UNAUDIT_VALUE);
    public static final state delete = new state("delete", DELETE_VALUE);

    /**
     * construct function
     * @param String state
     */
    private state(String name, String state)
    {
        super(name, state);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static state getEnum(String state)
    {
        return (state)getEnum(state.class, state);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(state.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(state.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(state.class);
    }
}